<table class="data_form">
	<tbody>
		{foreach from=$attrs item=row}
		<tr>
			<th style="width:80px;">{$row.name}：</th>
			<td>
				<ul class="specification">
					<!-- 属性列表 START -->
					{foreach from=$row.inputs item=input}
					<li style="width:270px;">{$input}</li>
					{/foreach}
					<!-- 属性列表 END -->
				</ul>
				<div class="clear"></div>
				<span id="attr_{$row.id}_tip">{$row.prompt}</span></td>
		</tr>
		{/foreach}
	</tbody>
</table>
<script type="text/javascript" language="JavaScript" charset="utf-8">
/*<!--*/
	{literal}
	jQuery(function($){
		if($.formValidator){
	{/literal}
			{foreach from=$attrs item=row}
			if(gi('attr_{$row.id}')){literal}{{/literal}
				{if $row.prompt != ''}
				$('#attr_{$row.id}').formValidator({literal}{{/literal}onfocus:'{$row.prompt}'{literal}}{/literal});
					{if $row.regexp != ''}
					$('#attr_{$row.id}').RegexValidator({literal}{{/literal}regexp:'{$row.regexp}'{literal}}{/literal});
					{/if}
				{/if}
			{literal}}{/literal}
			{/foreach}
	{literal}
		}
	});
	{/literal}
/*-->*/
</script>